<%@ Page Language="C#" MasterPageFile="~/MasterPages/Default.Master" AutoEventWireup="true" CodeBehind="Moderate.aspx.cs" Inherits="Mindscape.BackgroundMotion.Website.Moderate" Title="Moderate" %>
<asp:Content ContentPlaceHolderID="BodyContent" runat="server">

<mindscape:WebDataBinder ID="UnmoderatedContributionsDataBinder" runat="server">
  <BindingItems>
    <mindscape:WebDataBindingItem ID="WebDataBindingItem1" runat="server" BindingSource="this" BindingSourceMember="UnmoderatedContributions" BindingMode="OneWay" TargetControl="UnmoderatedContributionsRepeater" TargetControlProperty="DataSource" />  
  </BindingItems>
</mindscape:WebDataBinder>

<asp:Repeater ID="UnmoderatedContributionsRepeater" runat="server" DataMember="Contributor">
<ItemTemplate>
  <div class="moderateRow">
    <div class="moderatePreview"><img Width="118" Height="89" src="<%# DataBinder.Eval(Container.DataItem, "PreviewImage") %>" /></div>
    <div class="moderateDescription"><a href="<%# DataBinder.Eval(Container.DataItem, "LinkUrl" ) %>"><%# DataBinder.Eval(Container.DataItem, "Description" ) %></a></div>
    <div class="moderateButtons">
      <a href="/Moderate.aspx?ApproveID=<%# DataBinder.Eval(Container.DataItem, "Id") %>">Approve</a>
      <a href="/Moderate.aspx?DeleteID=<%# DataBinder.Eval(Container.DataItem, "Id") %>">Delete</a>
    </div>
  </div>
</ItemTemplate>
</asp:Repeater>

</asp:Content>
